﻿using System;

using System.Collections.Generic;

using System.Linq;

using System.Text;

using Exhibition.Dao;
using Exhibition.IService;
using   Exhibition.Dao.ViewModel;
namespace Exhibition.Service.Service 

{

  public class  BadgesService : IBadgesService

    {


     BadgesDao dao=new BadgesDao();


    #region IBadgesService 成员

   public List<E_Badges> GetList(int startIndex, int maxRow, out int recordcount)
     {

       return dao.GetList(startIndex, maxRow,out recordcount);

     }


     #endregion


    #region IBadgesService 成员

   public int Save(BadgesModel obj)
     {

       return dao.Save(obj);

     }


     #endregion


   #region IBadgesService 成员

   public BadgesModel GetOneById(int id)
     {

        return dao.GetOneById(id);

     }


     #endregion

   #region IBadgesService 成员
   public int DelById(int id)
     {

        return dao.DelById(id);

     }


     #endregion





   public List<BadgesModel> GetBadList(int userid, int siteid)
   {
       return dao.GetBadList(userid,siteid);
   }
    }

 }

